package com.tuling.netty.command;

import io.netty.channel.ChannelHandlerContext;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class DefaultCmdHandler implements CmdHandler<Cmd> {
    @Override
    public boolean supports(Cmd cmd) {
        return true;
    }

    @Override
    public void handle(ChannelHandlerContext ctx, Cmd cmd) {
        log.warn("未找到对应的命令处理器,{}", cmd);
    }
}